Optimal. Leaf size=197 \[ -\frac {3}{2} c^2 d x \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )+\frac {3 c d \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{4 b \sqrt {c x-1} \sqrt {c x+1}}-\frac {\left (d-c^2 d x^2\right )^{3/2} \left (a+b \cosh ^{-1}(c x)\right )}{x}+\frac {b c d \log (x) \sqrt {d-c^2 d x^2}}{\sqrt {c x-1} \sqrt {c x+1}}+\frac {b c^3 d x^2 \sqrt {d-c^2 d x^2}}{4 \sqrt {c x-1} \sqrt {c x+1}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.54, antiderivative size = 209, normalized size of antiderivative = 1.06, number of steps used = 7, number of rules used = 6, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.222, Rules used = {5798, 5740, 5683, 5676, 30, 14} \[ -\frac {3}{2} c^2 d x \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )+\frac {3 c d \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{4 b \sqrt {c x-1} \sqrt {c x+1}}-\frac {d (1-c x) (c x+1) \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{x}+\frac {b c^3 d x^2 \sqrt {d-c^2 d x^2}}{4 \sqrt {c x-1} \sqrt {c x+1}}+\frac {b c d \log (x) \sqrt {d-c^2 d x^2}}{\sqrt {c x-1} \sqrt {c x+1}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 30
Rule 5676
Rule 5683
Rule 5740
Rule 5798
Rubi steps
\begin {align*} \int \frac {\left (d-c^2 d x^2\right )^{3/2} \left (a+b \cosh ^{-1}(c x)\right )}{x^2} \, dx &=-\frac {\left (d \sqrt {d-c^2 d x^2}\right ) \int \frac {(-1+c x)^{3/2} (1+c x)^{3/2} \left (a+b \cosh ^{-1}(c x)\right )}{x^2} \, dx}{\sqrt {-1+c x} \sqrt {1+c x}}\\ &=-\frac {d (1-c x) (1+c x) \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{x}-\frac {\left (b c d \sqrt {d-c^2 d x^2}\right ) \int \frac {-1+c^2 x^2}{x} \, dx}{\sqrt {-1+c x} \sqrt {1+c x}}-\frac {\left (3 c^2 d \sqrt {d-c^2 d x^2}\right ) \int \sqrt {-1+c x} \sqrt {1+c x} \left (a+b \cosh ^{-1}(c x)\right ) \, dx}{\sqrt {-1+c x} \sqrt {1+c x}}\\ &=-\frac {3}{2} c^2 d x \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )-\frac {d (1-c x) (1+c x) \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{x}-\frac {\left (b c d \sqrt {d-c^2 d x^2}\right ) \int \left (-\frac {1}{x}+c^2 x\right ) \, dx}{\sqrt {-1+c x} \sqrt {1+c x}}+\frac {\left (3 c^2 d \sqrt {d-c^2 d x^2}\right ) \int \frac {a+b \cosh ^{-1}(c x)}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx}{2 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {\left (3 b c^3 d \sqrt {d-c^2 d x^2}\right ) \int x \, dx}{2 \sqrt {-1+c x} \sqrt {1+c x}}\\ &=\frac {b c^3 d x^2 \sqrt {d-c^2 d x^2}}{4 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {3}{2} c^2 d x \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )-\frac {d (1-c x) (1+c x) \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{x}+\frac {3 c d \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{4 b \sqrt {-1+c x} \sqrt {1+c x}}+\frac {b c d \sqrt {d-c^2 d x^2} \log (x)}{\sqrt {-1+c x} \sqrt {1+c x}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 1.08, size = 223, normalized size = 1.13 \[ \frac {1}{8} \left (12 a c d^{3/2} \tan ^{-1}\left (\frac {c x \sqrt {d-c^2 d x^2}}{\sqrt {d} \left (c^2 x^2-1\right )}\right )-\frac {4 a d \left (c^2 x^2+2\right ) \sqrt {d-c^2 d x^2}}{x}+4 b c d \sqrt {d-c^2 d x^2} \left (\frac {2 \log (c x)+\cosh ^{-1}(c x)^2}{\sqrt {\frac {c x-1}{c x+1}} (c x+1)}-\frac {2 \cosh ^{-1}(c x)}{c x}\right )+\frac {b c d \sqrt {d-c^2 d x^2} \left (2 \cosh ^{-1}(c x)^2+\cosh \left (2 \cosh ^{-1}(c x)\right )-2 \cosh ^{-1}(c x) \sinh \left (2 \cosh ^{-1}(c x)\right )\right )}{\sqrt {\frac {c x-1}{c x+1}} (c x+1)}\right ) \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.66, size = 0, normalized size = 0.00 \[ {\rm integral}\left (-\frac {{\left (a c^{2} d x^{2} - a d + {\left (b c^{2} d x^{2} - b d\right )} \operatorname {arcosh}\left (c x\right )\right )} \sqrt {-c^{2} d x^{2} + d}}{x^{2}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: TypeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.52, size = 427, normalized size = 2.17 \[ -\frac {a \left (-c^{2} d \,x^{2}+d \right )^{\frac {5}{2}}}{d x}-a \,c^{2} x \left (-c^{2} d \,x^{2}+d \right )^{\frac {3}{2}}-\frac {3 a \,c^{2} d x \sqrt {-c^{2} d \,x^{2}+d}}{2}-\frac {3 a \,c^{2} d^{2} \arctan \left (\frac {\sqrt {c^{2} d}\, x}{\sqrt {-c^{2} d \,x^{2}+d}}\right )}{2 \sqrt {c^{2} d}}+\frac {3 b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \mathrm {arccosh}\left (c x \right )^{2} c d}{4 \sqrt {c x -1}\, \sqrt {c x +1}}-\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, c^{4} d \,\mathrm {arccosh}\left (c x \right ) x^{3}}{2 \left (c x +1\right ) \left (c x -1\right )}+\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, c^{3} d \,x^{2}}{4 \sqrt {c x +1}\, \sqrt {c x -1}}-\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, c d \,\mathrm {arccosh}\left (c x \right )}{\sqrt {c x +1}\, \sqrt {c x -1}}-\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, c^{2} d \,\mathrm {arccosh}\left (c x \right ) x}{2 \left (c x +1\right ) \left (c x -1\right )}-\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, c d}{8 \sqrt {c x +1}\, \sqrt {c x -1}}+\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \mathrm {arccosh}\left (c x \right ) d}{\left (c x +1\right ) \left (c x -1\right ) x}+\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \ln \left (1+\left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )^{2}\right ) c d}{\sqrt {c x -1}\, \sqrt {c x +1}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ -\frac {1}{2} \, {\left (3 \, \sqrt {-c^{2} d x^{2} + d} c^{2} d x + 3 \, c d^{\frac {3}{2}} \arcsin \left (c x\right ) + \frac {2 \, {\left (-c^{2} d x^{2} + d\right )}^{\frac {3}{2}}}{x}\right )} a + b \int \frac {{\left (-c^{2} d x^{2} + d\right )}^{\frac {3}{2}} \log \left (c x + \sqrt {c x + 1} \sqrt {c x - 1}\right )}{x^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {\left (a+b\,\mathrm {acosh}\left (c\,x\right )\right )\,{\left (d-c^2\,d\,x^2\right )}^{3/2}}{x^2} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (- d \left (c x - 1\right ) \left (c x + 1\right )\right )^{\frac {3}{2}} \left (a + b \operatorname {acosh}{\left (c x \right )}\right )}{x^{2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________